import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import login from '@/components/login'
import index from '@/components/index'

import finaceCheck from '@/components/pages/finaceCheck'
import threeCheck from '@/components/pages/threeCheck'
import manyFileOne from '@/components/pages/manyFileOne'
import ocrcheck from '@/components/pages/ocrcheck'
import otherNumber from '@/components/pages/otherNumber'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index,
      redirect: '/finaceCheck',
      children: [
        {
          path: '/finaceCheck',
          component: finaceCheck,
          meta: []
        },
        {
          path: '/threeCheck',
          component: threeCheck

        },
        {
          path: '/manyFileOne',
          component: manyFileOne

        },
        {
          path: '/ocrcheck',
          component: ocrcheck

        },
        {
          path: '/otherNumber',
          component: otherNumber

        }
      ]
    }
  ]
})
